<template>
  <div>Son</div>
  <p>{{ count }}</p>
  <button @click="$emit('update:count', count + 1)">+</button>
</template>

<script lang="ts" setup>
defineProps<{
  count: number;
}>();

defineEmits(["update:count"]);
</script>
